<div id="content">
<?php
if (isset($posts) ) { if(count($posts)>0){			foreach ($posts as $post) {			?>

	<article>
		<header>		<h3><?php echo anchor('weblog/read/' . $post->getTitleClean(), $post -> getTitle()); ?> </h3>				<h4> <i><abbr class="date time published" title="<?php echo $post -> getDatePublished()->format('l jS \of F Y h:i:s A')?>"><?php echo $post -> getDatePublished()->format('l jS \of F Y h:i:s A')?></abbr></i></h4>        </header>        <br />               <p><?php echo  $post -> getShortDescription(); ?></p>                                <footer>        	        	<h5> <span> by </span> <strong> <em> <?php echo $post->getAuthor()->getFullName(); ?> </em> </strong></h5>        	        </footer>                              </article>
     	<hr style="color:#FFFFFF; margin-top: 20px; margin-bottom: 20px;;background-color: #E7E7E7;height: 0px;opacity: .2" />		<?php
		}	}}	else{ 	?>	 <p  style="padding-left: 10px">there are no post found....  ?></p> <?php} ?>	<script>		$(document).ready(function (){				$("hr:last").css(			"display","none"					);							});		</script>
</div>